package com.mvvm.store.bean.basebean;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 扫码获取入库字段
 */
@Entity
public class ScanStockBean {
    @PrimaryKey(autoGenerate = true)
    public int sId;


    @ColumnInfo(name = "oddNumber")
    private String oddNumber;  //获取零件号

    @ColumnInfo(name = "lableNumber")
    private String lableNumber; //标签号

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getOddNumber() {
        return oddNumber;
    }

    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    public String getLableNumber() {
        return lableNumber;
    }

    public void setLableNumber(String lableNumber) {
        this.lableNumber = lableNumber;
    }


    @Override
    public String toString() {
        return "ScanStockBean{" +
                "sId=" + sId +
                ", oddNumber='" + oddNumber + '\'' +
                ", lableNumber='" + lableNumber + '\'' +
                '}';
    }
}
